﻿using System.Threading;

namespace Songhay.Wpf.UriTree
{
    /// <summary>
    /// Application Entry Point.
    /// </summary>
    public class Program
    {
        /// <summary>
        /// Main static entry.
        /// </summary>
        [System.STAThreadAttribute()]
        public static void Main()
        {
            _mutex = new Mutex(true, "UriTree");
            if(!_mutex.WaitOne(0, false)) return;

            ClientContainer shell = new ClientContainer();
            shell.Run();
        }

        private static Mutex _mutex;
    }
}
